package com.dly.blog.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 全局异常
 * @Author: DaiLiYu
 * @Date: 2023/7/11 10:58
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class GlobalException extends RuntimeException{

    private int code;

    private String message;

    private String module;

}
